﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="KhachHangs.aspx.cs" Inherits="EHTWebsiteProject.KhachHangs" %>

<%@ Register Src="~/Controls/BlogControl.ascx" TagName="BlogControl" TagPrefix="EHT" %>
<%@ Register Src="~/Controls/PaggingControl.ascx" TagName="PaggingControl" TagPrefix="EHT" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="chitiet">
        <!--Begin #chitiet-left-->
        <div id="chitiet-left">
            <!--Begin #chitiet-top-->
            <div id="chitiet-left-top">
            </div>
            <!--End #chitiet-top-->
            <!--Begin #chitiet-main-->
            <div id="chitiet-left-main">
                <h3 style="font-size: 16px; color: #65922a; padding-left: 10px; padding-top:10px; padding-bottom:10px;">
                    <asp:Literal ID="ltrKhachHang_Title" runat="server"></asp:Literal>
                </h3>
                <div style="padding-left: 20px; text-align: justify; width: 700px;">
                    <asp:Repeater ID="rpKhachHangs" runat="server">
                        <HeaderTemplate>
                            <div class="anh-panel">
                        </HeaderTemplate>
                        <ItemTemplate>
                            <div class="images-panel img">
                                <a href='/khach-hang-chi-tiet/<%#Eval("KhachHangID")%>/<%#Eval("TenKhachHangVN")%>.aspx'
                                    style="border: none;">
                                    <img src='/ImageDatas/Customers/<%#Eval("HinhAnhUrl")%>' alt='<%#Eval("TenKhachHangVN")%>'
                                        style="max-width: 290px; max-height: 190px;" /></a>
                                <h5 style="width: 290px; text-align: center; height: 40px;">
                                    <a href='/khach-hang-chi-tiet/<%#Eval("KhachHangID")%>/<%#FormatStringForUrl(DataBinder.Eval(Container.DataItem, "TenKhachHangVN").ToString())%>.aspx'
                                        style="border: none;">
                                        <% if (IsVN == true)
                                           {%>
                                        <%#Eval("TenKhachHangVN")%>
                                        <%}
                                           else
                                           { %>
                                        <%#Eval("TenKhachHangOther")%>
                                        <%} %>
                                    </a>
                                </h5>
                            </div>
                        </ItemTemplate>
                        <FooterTemplate>
                            <div style="clear: both;">
                            </div>
                            </div>
                        </FooterTemplate>
                    </asp:Repeater>
                </div>
                <div style="width: 98%; margin-left: 2px; background: inherit; padding-top: 5px;
                    text-align: center; padding-right: 2px;">
                    <EHT:PaggingControl ID="PaggingControl1" runat="server" PageSize="10" />
                </div>
            </div>
            <!--End #chitiet-main-->
            <!--Begin #chitiet-foo-->
            <div id="chitiet-left-foo">
            </div>
            <!--End #chitiet-foo-->
        </div>
        <!--End #chitiet-left-->
        <!--Begin #chitiet-right-->
        <div id="chitiet-right">
            <!--Begin #related-->
            <div id="related">
                <!--Begin #related-top-->
                <div id="related-top">
                </div>
                <!--End #ralated-top-->
                <!--Begin #related-main-->
                <div id="related-main">
                    <EHT:BlogControl ID="BlogControl1" runat="server" />
                </div>
                <!--End #related-main-->
                <!--Begin #related-foo-->
                <div id="related-foo">
                </div>
                <!--End #related-foo-->
            </div>
            <!--End #related-->
        </div>
        <!--End #chitiet-right-->
        <div style="clear: both;">
        </div>
    </div>
    <script type="text/javascript">
        $(document).ready(function () {
            $("#t_2").addClass('current'); // header menu
            // $("#f_5").addClass('current'); // footer menu
        });
    </script>
</asp:Content>
